package com.xuecheng.content.service;

import com.xuecheng.content.model.dto.BindTeachplanMediaDto;
import com.xuecheng.content.model.dto.SaveTeachplanDto;
import com.xuecheng.content.model.dto.TeachplanDto;
import com.xuecheng.content.model.po.Teachplan;

import java.util.List;

/**
 * 课程计划相关的接口
 */
public interface TeachPlanService {
    public List<TeachplanDto> findTeachPlanTree(Long courseId);

    void saveTeachPlan(SaveTeachplanDto saveTeachplanDto) ;

    void deleteTeachPlan(Long id);

    void moveupTeachPlan(Long id);

    void movedownTeachPlan(Long id);

    /**
     * @description 教学计划绑定媒资
     * @param bindTeachplanMediaDto
     * @return com.xuecheng.content.model.po.TeachplanMedia
     * @author Mr.M
     * @date 2022/9/14 22:20
     */
    void associationMedia(BindTeachplanMediaDto bindTeachplanMediaDto);

    Teachplan getTeachplan(Long id);
}
